import 'common/js/common'
import Vue from 'vue'
import App from './main'
import router from 'router/token'
import clipboard from 'clipboard'
import store from 'src/store'
import fastclick from 'fastclick'
import {
  Sticky,
  Scroll,
  Popup,
} from 'cube-ui';
import {numAddSep} from 'common/js/utl'
//令牌页面
Vue.use(Sticky)
Vue.use(Scroll)
Vue.use(Popup)
fastclick.attach(document.body)
new clipboard('.clipboard-btn');

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})



Vue.filter('numAddSepFixed2', function (value) {
  return numAddSep(Math.floor(value * 100) / 100 )
})





